<?php
// +----------------------------------------------------------------------
// | KITEGO-Admin「开箱即用」「人人全栈」
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2024 https://www.kitego.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed KITEGO并不是自由软件，未经许可不能去掉KITEGO相关版权
// +----------------------------------------------------------------------
// | Author: KITEGO Team <bd@kitego.cn>
// +----------------------------------------------------------------------

namespace app\model\maintenance;

use app\model\BaseModel;
use think\model\relation\HasOne;

class LangTranslation extends BaseModel
{
    /**
     * 一对一关联语言列表
     */
    public function lang(): HasOne
    {
        return $this->hasOne(Lang::class, 'id', 'lang_id');
    }
}